package com.dingwen.stu.spr.di.entity;

import java.util.*;

/**
 * 学生
 *
 * @author dingwen
 * @date 2021/10/05
 */
public class Student {
    /**
     * 名字
     */
    private String name;

    /**
     * 家庭地址
     */
    private Address address;

    /**
     * 书
     */
    private String[] books;

    /**
     * 爱好
     */
    private List<String> hobbies;

    /**
     * 银行卡
     */
    private Map<String,String> cards;

    /**
     * 游戏
     */
    private Set<String> games;

    /**
     * 是否结婚
     */
    private boolean isWife;

    /**
     * 开发人员
     */
    private String developer;

    /**
     * 信息
     */
    private Properties info;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String[] getBooks() {
        return books;
    }

    public void setBooks(String[] books) {
        this.books = books;
    }

    public List<String> getHobbies() {
        return hobbies;
    }

    public void setHobbies(List<String> hobbies) {
        this.hobbies = hobbies;
    }

    public Map<String, String> getCards() {
        return cards;
    }

    public void setCards(Map<String, String> cards) {
        this.cards = cards;
    }

    public Set<String> getGames() {
        return games;
    }

    public void setGames(Set<String> games) {
        this.games = games;
    }

    public boolean isWife() {
        return isWife;
    }

    public void setWife(boolean wife) {
        isWife = wife;
    }

    public String getDeveloper() {
        return developer;
    }

    public void setDeveloper(String developer) {
        this.developer = developer;
    }

    public Properties getInfo() {
        return info;
    }

    public void setInfo(Properties info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", address=" + address.toString() +
                ", books=" + Arrays.toString(books) +
                ", hobbies=" + hobbies +
                ", cards=" + cards +
                ", games=" + games +
                ", isWife=" + isWife +
                ", developer='" + developer + '\'' +
                ", info=" + info +
                '}';
    }
}
